#include "realmultiplication.h"

RealMultiplication::RealMultiplication() : RealOperation() {
}

RealMultiplication::~RealMultiplication() {
}

char RealMultiplication::getSign() {
    return '*';
}

void RealMultiplication::evaluateMe(LinkedList<double>& evaluationStack, const double* positionArray) {
    assert(evaluationStack.getSize()>1);
    evaluationStack.getSecondLastElement()*=evaluationStack.getElementAtEnd();
    delete &evaluationStack.pop();
}
